package com.heima.behavior.service;

import com.heima.behavior.entity.ApUnlikesBehavior;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.behavior.dtos.UnLikesBehaviorDto;

/**
 * <p>
 * APP不喜欢行为表 服务类
 * </p>
 *
 * @author heima
 * @since 2021-03-23
 */
public interface IApUnlikesBehaviorService extends IService<ApUnlikesBehavior> {
    /**
     * 用户不喜欢行为记录
     */
    void saveUnLikeBehavior(UnLikesBehaviorDto dto);

    /**
     * 查询不喜欢行为
     * @param userId
     * @param equipmentId
     * @param articleId
     * @return
     */
    ApUnlikesBehavior queryUnLikeBehavior(Integer userId, String equipmentId, Long articleId);
}
